package com.nineclock.system.service;


import com.nineclock.attendance.dto.DepartmentOrUserSimpleDTO;
import com.nineclock.common.entity.PageResult;
import com.nineclock.system.dto.SysCompanyUserDTO;
import com.nineclock.system.dto.SysDepartmentDTO;

import java.util.List;

public interface OrganizationService {


    List<SysCompanyUserDTO> getCompanyUserList();

    List<SysDepartmentDTO> getCompanyDepartmentList();

    PageResult<SysCompanyUserDTO> getCompanyDepartmentUserList(Integer page, Integer pageSize, String keyword, Long departmentId);

    List<Long> queryTopDepartmentIds();

    List<DepartmentOrUserSimpleDTO> querySimpleDepartment(Long departmentId, Integer includeMember);

    List<Long> queryDepartmentsByUserId(Long companyUserId);
}
